-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added millibar as pressure unit #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update forgotten unit data from the copy/paste file creation 😆
|
||
->setSymbol("bar") | ||
|
||
->setUnits(100000000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
protected function configure () : void | ||
{ | ||
$this | ||
->setName("bar") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the name to "millibar"
.
$this | ||
->setName("bar") | ||
|
||
->setSymbol("bar") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the symbol to "mbar"
.
Source: wikipedia page – Bar (unit)
We won't use the millibar mb
notation since mb
is reserved for the computer data units.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I confused you with the units though 😆
They should 100, not 1 (1 is pascal since all Pressure units are based off Pascal)
|
||
->setUnits(100000000) | ||
->setUnits(1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Units should be 100 (1 millibar === 100 pascal)
LGTM! 👍 |
* remove composer.lock from repo and add it to .gitignore (#30) * Implement Kilopascal and Megapascal and write tests (#29) * implement Kilopascal * implement Megapascal * fix docblocks * Fix: add missing self conversions for temperature units (#31) * Feature/improve travis file (#32) * update .travis.yml * Added time measurements (#35) Closes #10 * Added time measurements * Added requested changes * Added new time units * Feat: add simple contributing guide for now (#36) * Added last weight measures (#37) * Added last weight measures * Fixed stone units * Added millibar as pressure unit (#34) * Added millibar as pressure unit * Fixed wrong millibar, also fixed documentation block * Added requested changes * Added requested changes * Fixed millibar units * scientificSymbol property, getter and setter are added (#47) closes #46 * Add first set of dev docs (#44) * Update: composer docs cmd now uses bash script to check for stale docs * Update: phpDocumentor XML config file * Feat: docs for v0.3.9-alpha (#43) * Update: move docs directory to project root for github pages support * Adding energy units (#33) * Properly casing unit symbols * Adding requested energy units * Removing unnecessary imports * Upgrade: docs & composer version * Fix: Energy integration test - wrong unit case for Joule
No description provided.